Skip to content

Unlock ability to build benchmarks on OSX#333

Merged
cameron314 merged 1 commit intocameron314:masterfrom
cjappl:BuildBenchmarksOSX
Feb 27, 2023
Merged

Unlock ability to build benchmarks on OSX#333
cameron314 merged 1 commit intocameron314:masterfrom
cjappl:BuildBenchmarksOSX

Conversation

@cjappl
Copy link
Copy Markdown
Contributor

@cjappl cjappl commented Feb 27, 2023

-lrt is only a linux thing. Removing this gave me the ability to build the benchmarks (which I will post when they are finished)

Comment thread build/makefile
TBB_PLATFORM_OPTS = -DUSE_WINTHREAD
else
LD_PLATFORM_OPTS = -lrt
UNAME_S := $(shell uname -s)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use $(OS)?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately doesn't work on OSX at least. I based this design off of this pattern:

https://stackoverflow.com/questions/714100/os-detecting-makefile

@cameron314 cameron314 merged commit 4c826ce into cameron314:master Feb 27, 2023
@cjappl cjappl deleted the BuildBenchmarksOSX branch February 27, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants